import ParentA from "@/components/ParentA";
import StoreDemo from "@/components/StoreDemo";
import Chat from "./view/Chat";
import Login from "@/view/login/Login"
let routes = [
    {
        path: '/',
        component: ParentA,
        name: '',
        hidden: true
    },
    {
        path: '/login',
        component: Login,
        name: '',
        hidden: true
    },
    {
        path: '/store',
        component: StoreDemo,
        name: '',
        hidden: true
    },
    {
        path: '/chat',
        component: Chat,
        name: '',
        hidden: true
    },
    {
        path: '*',
        redirect: '/chat'
    }
];

export default routes;
